@use 'sass:list'; // font-weight-100 ～ 900
// @import 'sass:list'; // font-weight-100 ～ 900
@for $i from 1 through 9 {
  .font-weight-#{$i}00 {
    font-weight: #{$i}00;
  }
}

// 间距值列表
$spacing-sizes: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30, 35, 40, 45, 50;

// margin & padding
@each $type in ('m': margin, 'p': padding) {
  $prefix: list.nth($type, 1);
  $property: list.nth($type, 2);

  @each $direction, $prop in (t: top, b: bottom, l: left, r: right) {
    @each $size in $spacing-sizes {
      .#{$prefix}#{$direction}-#{$size} {
        #{$property}-#{$prop}: #{$size}px;
      }
    }
  }
}

:root {
  // 默认色系
  --zfast-primary-color: #0082ee;
  --zfast-success-color: #00a88b;
  --zfast-warning-color: #ff9800;
  --zfast-danger-color: #f44336;
  // 次级色系
  --zfast-primary-color-hover: #0068dd;
  --zfast-success-color-hover: #008a6e;
  --zfast-warning-color-hover: #e08e00;
  --zfast-danger-color-hover: #d33f31;

  // 禁用色系
  --zfast-disabled-color: #e5e6eb;
  --zfast-disabled-text-color: #b9bec6;
}
